Skip to content

Keep message edits expanded on mobile - #4097

Merged
ymichael merged 3 commits into
mainfrom
bb/fix-message-editing-mode-thr_fcymk26x7e
Sep 22, 2026
Merged

ymichael merged 3 commits into
mainfrom
bb/fix-message-editing-mode-thr_fcymk26x7e

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Sent-message and queued-message edits reused the follow-up composer’s compact mobile behavior. After focus left an inline edit, its draft collapsed to a single row and hid the editing controls. There is no dedicated issue for this layout bug; nearby queued-editing issues #1864 and #2401 are separate.

What changed

Added an edit-specific expanded preference to FollowUpPromptBox and opted in the main-thread sent and queued editors plus the embedded-chat queued editor. The derived expanded state drives the compact layout, mobile CSS, and height animation. The ordinary follow-up composer keeps its existing default. Synthetic before/after screenshots are in docs/assets/message-editing/.

How you verified

  • pnpm exec turbo run test typecheck --filter=@bb/app — 5,077 tests passed, 6 skipped; typecheck passed.
  • pnpm exec turbo run lint --filter=@bb/app — 0 errors.
  • At 390 px in the source app, opened sent and queued edits and moved focus away. Before: compact: true, expanded: false. After: compact: false, expanded: true.

AGENT GENERATED

@ymichael
ymichael merged commit c8ee688 into main Sep 22, 2026
16 checks passed
@ymichael
ymichael deleted the bb/fix-message-editing-mode-thr_fcymk26x7e branch September 22, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant